package com.chushouya.product.dto.admin.skuevaluate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * SKU估价项目更新DTO
 */
@Data
@ApiModel(value = "SKU估价项目更新DTO")
public class SkuEvaluateItemUpdateDTO {

    @ApiModelProperty(value = "SKU估价项目ID", required = true)
    @NotNull(message = "SKU估价项目ID不能为空")
    private Long skuItemId;

    @ApiModelProperty(value = "项目名称", required = true)
    @NotBlank(message = "项目名称不能为空")
    private String itemName;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "状态")
    private Integer status;
}
